/****************************************************************************
 for cocos2d-x 3.2
 author : shixinzhu
 
 e-mail : 543104011@qq.com xinzhushi@gmail.com
 git    : https://code.google.com/p/cocos2d-x-shinn/
 ****************************************************************************/

#ifndef __MENULAYER_H_
#define __MENULAYER_H_

#include "cocos2d.h"

USING_NS_CC;

class MenuLayer : Layer
{
    
public:
    static Scene* createScene();
    virtual bool init();
    void menuCloseCallback(Ref* pSender);
    CREATE_FUNC(MenuLayer);
    
    int musicCanPlay;
    int soundCanPlay;
    int howToPlay;
    Sprite *unReadedSprite;
    
private:
    
    void onNewGame();
};

#endif /* defined(__MENULAYER_H_) */
